<?php

namespace App\Library\Requests\ProductAlbum;

use App\Library\Requests\Base\BaseDTORequest;
use App\Library\Rules\MediasImgRule;

class ProductAlbumAddRequest extends BaseDTORequest
{
    public function rules(): array
    {
        return [
            'statusShare' => 'required|boolean',
            'fileIds' => ['required', new MediasImgRule],
            'describe' => 'required|string|max:255',
            'descImgIds' => ['nullable', new MediasImgRule],
            'tags' => 'nullable|array'
        ];
    }
}
